package c.j.a.d.b.c;

import android.content.ContentValues;
import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.measurement.dynamite.ModuleDescriptor;
import com.huawei.hms.adapter.internal.AvailableCode;
import com.huawei.hms.api.ConnectionResult;
import com.ss.android.socialbase.downloader.g.b;
import java.util.List;

/* compiled from: ISqlDownloadCacheAidl */
public interface c extends IInterface {

    /* compiled from: ISqlDownloadCacheAidl */
    public static abstract class a extends Binder implements c {
        public static final /* synthetic */ int a = 0;

        /* compiled from: ISqlDownloadCacheAidl */
        public static class a implements c {
            public IBinder a;

            public a(IBinder iBinder) {
                this.a = iBinder;
            }

            public com.ss.android.socialbase.downloader.g.c C(int i, long j) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeLong(j);
                    this.a.transact(26, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void E(b bVar) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    if (bVar != null) {
                        obtain.writeInt(1);
                        bVar.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.a.transact(11, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c I(int i, long j, String str, String str2) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeLong(j);
                    obtain.writeString(str);
                    obtain.writeString(str2);
                    this.a.transact(21, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c O(int i, long j) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeLong(j);
                    this.a.transact(23, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void a() throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    this.a.transact(1, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public IBinder asBinder() {
                return this.a;
            }

            public com.ss.android.socialbase.downloader.g.c b(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(3, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public List<com.ss.android.socialbase.downloader.g.c> c(String str) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeString(str);
                    this.a.transact(6, obtain, obtain2, 0);
                    obtain2.readException();
                    List<com.ss.android.socialbase.downloader.g.c> createTypedArrayList = obtain2.createTypedArrayList(com.ss.android.socialbase.downloader.g.c.CREATOR);
                    return createTypedArrayList;
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void d(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(9, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c e(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(20, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void e0(b bVar) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeStrongBinder(bVar != null ? bVar.asBinder() : null);
                    this.a.transact(35, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void f(b bVar) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    if (bVar != null) {
                        obtain.writeInt(1);
                        bVar.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.a.transact(10, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c g(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(24, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c h(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(28, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void i(int i, List<b> list) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeTypedList(list);
                    this.a.transact(33, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public List<com.ss.android.socialbase.downloader.g.c> j(String str) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeString(str);
                    this.a.transact(7, obtain, obtain2, 0);
                    obtain2.readException();
                    List<com.ss.android.socialbase.downloader.g.c> createTypedArrayList = obtain2.createTypedArrayList(com.ss.android.socialbase.downloader.g.c.CREATOR);
                    return createTypedArrayList;
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void k(int i, int i2, long j) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeInt(i2);
                    obtain.writeLong(j);
                    this.a.transact(12, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public boolean l(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    boolean z = false;
                    this.a.transact(17, obtain, obtain2, 0);
                    obtain2.readException();
                    if (obtain2.readInt() != 0) {
                        z = true;
                    }
                    obtain2.recycle();
                    obtain.recycle();
                    return z;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void m(int i, int i2, int i3, long j) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeInt(i2);
                    obtain.writeInt(i3);
                    obtain.writeLong(j);
                    this.a.transact(13, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void n(int i, int i2, int i3, int i4) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeInt(i2);
                    obtain.writeInt(i3);
                    obtain.writeInt(i4);
                    this.a.transact(14, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c o(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(29, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c t(int i, long j) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeLong(j);
                    this.a.transact(25, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public List<com.ss.android.socialbase.downloader.g.c> a(String str) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeString(str);
                    this.a.transact(4, obtain, obtain2, 0);
                    obtain2.readException();
                    List<com.ss.android.socialbase.downloader.g.c> createTypedArrayList = obtain2.createTypedArrayList(com.ss.android.socialbase.downloader.g.c.CREATOR);
                    return createTypedArrayList;
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public boolean d() throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    boolean z = false;
                    this.a.transact(31, obtain, obtain2, 0);
                    obtain2.readException();
                    if (obtain2.readInt() != 0) {
                        z = true;
                    }
                    obtain2.recycle();
                    obtain.recycle();
                    return z;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public List<b> c(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    this.a.transact(8, obtain, obtain2, 0);
                    obtain2.readException();
                    List<b> createTypedArrayList = obtain2.createTypedArrayList(b.CREATOR);
                    return createTypedArrayList;
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public List<com.ss.android.socialbase.downloader.g.c> b(String str) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeString(str);
                    this.a.transact(5, obtain, obtain2, 0);
                    obtain2.readException();
                    List<com.ss.android.socialbase.downloader.g.c> createTypedArrayList = obtain2.createTypedArrayList(com.ss.android.socialbase.downloader.g.c.CREATOR);
                    return createTypedArrayList;
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public boolean f(int i) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    boolean z = false;
                    this.a.transact(18, obtain, obtain2, 0);
                    obtain2.readException();
                    if (obtain2.readInt() != 0) {
                        z = true;
                    }
                    obtain2.recycle();
                    obtain.recycle();
                    return z;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c a(int i, int i2) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeInt(i2);
                    this.a.transact(15, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void d(int i, List<b> list) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeTypedList(list);
                    this.a.transact(34, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public boolean c() throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    boolean z = false;
                    this.a.transact(30, obtain, obtain2, 0);
                    obtain2.readException();
                    if (obtain2.readInt() != 0) {
                        z = true;
                    }
                    obtain2.recycle();
                    obtain.recycle();
                    return z;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void b() throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    this.a.transact(19, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public void b(com.ss.android.socialbase.downloader.g.c cVar) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    if (cVar != null) {
                        obtain.writeInt(1);
                        cVar.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.a.transact(32, obtain, obtain2, 0);
                    obtain2.readException();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public boolean a(com.ss.android.socialbase.downloader.g.c cVar) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    boolean z = true;
                    if (cVar != null) {
                        obtain.writeInt(1);
                        cVar.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.a.transact(16, obtain, obtain2, 0);
                    obtain2.readException();
                    if (obtain2.readInt() == 0) {
                        z = false;
                    }
                    obtain2.recycle();
                    obtain.recycle();
                    return z;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

            public com.ss.android.socialbase.downloader.g.c a(int i, long j) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
                    obtain.writeInt(i);
                    obtain.writeLong(j);
                    this.a.transact(22, obtain, obtain2, 0);
                    obtain2.readException();
                    com.ss.android.socialbase.downloader.g.c cVar = obtain2.readInt() != 0 ? (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(obtain2) : null;
                    obtain2.recycle();
                    obtain.recycle();
                    return cVar;
                } catch (Throwable th) {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }
        }

        public a() {
            attachInterface(this, "com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl");
        }

        public IBinder asBinder() {
            return this;
        }

        public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
            String str = "com.ss.android.socialbase.downloader.db.ISqlDownloadCacheAidl";
            if (i != 1598968902) {
                b bVar = null;
                int i3 = 0;
                com.ss.android.socialbase.downloader.g.c b;
                List a;
                boolean a2;
                switch (i) {
                    case 1:
                        parcel.enforceInterface(str);
                        ((e) this).a();
                        parcel2.writeNoException();
                        return true;
                    case 2:
                        parcel.enforceInterface(str);
                        try {
                            if (((e) this).b(parcel.readInt()) != null) {
                                i3 = 1;
                            }
                        } catch (Throwable th) {
                            th.printStackTrace();
                        }
                        parcel2.writeNoException();
                        parcel2.writeInt(i3);
                        return true;
                    case 3:
                        parcel.enforceInterface(str);
                        b = ((e) this).b(parcel.readInt());
                        parcel2.writeNoException();
                        if (b != null) {
                            parcel2.writeInt(1);
                            b.writeToParcel(parcel2, 1);
                        } else {
                            parcel2.writeInt(0);
                        }
                        return true;
                    case 4:
                        parcel.enforceInterface(str);
                        a = ((e) this).a(parcel.readString());
                        parcel2.writeNoException();
                        parcel2.writeTypedList(a);
                        return true;
                    case 5:
                        parcel.enforceInterface(str);
                        parcel.readString();
                        parcel2.writeNoException();
                        parcel2.writeTypedList(null);
                        return true;
                    case 6:
                        parcel.enforceInterface(str);
                        parcel.readString();
                        parcel2.writeNoException();
                        parcel2.writeTypedList(null);
                        return true;
                    case 7:
                        parcel.enforceInterface(str);
                        parcel.readString();
                        parcel2.writeNoException();
                        parcel2.writeTypedList(null);
                        return true;
                    case 8:
                        parcel.enforceInterface(str);
                        a = ((e) this).c(parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeTypedList(a);
                        return true;
                    case 9:
                        parcel.enforceInterface(str);
                        ((e) this).d(parcel.readInt());
                        parcel2.writeNoException();
                        return true;
                    case 10:
                        parcel.enforceInterface(str);
                        if (parcel.readInt() != 0) {
                            bVar = (b) b.CREATOR.createFromParcel(parcel);
                        }
                        ((e) this).f(bVar);
                        parcel2.writeNoException();
                        return true;
                    case 11:
                        parcel.enforceInterface(str);
                        if (parcel.readInt() != 0) {
                            bVar = (b) b.CREATOR.createFromParcel(parcel);
                        }
                        ((e) this).f(bVar);
                        parcel2.writeNoException();
                        return true;
                    case 12:
                        parcel.enforceInterface(str);
                        ((e) this).k(parcel.readInt(), parcel.readInt(), parcel.readLong());
                        parcel2.writeNoException();
                        return true;
                    case 13:
                        parcel.enforceInterface(str);
                        ((e) this).m(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readLong());
                        parcel2.writeNoException();
                        return true;
                    case 14:
                        parcel.enforceInterface(str);
                        ((e) this).n(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt());
                        parcel2.writeNoException();
                        return true;
                    case 15:
                        parcel.enforceInterface(str);
                        ((e) this).a(parcel.readInt(), parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 16:
                        com.ss.android.socialbase.downloader.g.c cVar;
                        parcel.enforceInterface(str);
                        if (parcel.readInt() != 0) {
                            cVar = (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(parcel);
                        }
                        a2 = ((e) this).a(cVar);
                        parcel2.writeNoException();
                        parcel2.writeInt(a2);
                        return true;
                    case 17:
                        parcel.enforceInterface(str);
                        a2 = ((e) this).l(parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeInt(a2);
                        return true;
                    case 18:
                        parcel.enforceInterface(str);
                        ((e) this).f(parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeInt(1);
                        return true;
                    case ConnectionResult.SERVICE_MISSING_PERMISSION /*19*/:
                        parcel.enforceInterface(str);
                        ((e) this).b();
                        parcel2.writeNoException();
                        return true;
                    case ModuleDescriptor.MODULE_VERSION /*20*/:
                        parcel.enforceInterface(str);
                        parcel.readInt();
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 21:
                        parcel.enforceInterface(str);
                        ((e) this).I(parcel.readInt(), parcel.readLong(), parcel.readString(), parcel.readString());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 22:
                        parcel.enforceInterface(str);
                        ((e) this).a(parcel.readInt(), parcel.readLong());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 23:
                        parcel.enforceInterface(str);
                        ((e) this).O(parcel.readInt(), parcel.readLong());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 24:
                        parcel.enforceInterface(str);
                        ((e) this).g(parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 25:
                        parcel.enforceInterface(str);
                        ((e) this).t(parcel.readInt(), parcel.readLong());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 26:
                        parcel.enforceInterface(str);
                        ((e) this).C(parcel.readInt(), parcel.readLong());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case AvailableCode.USER_IGNORE_PREVIOUS_POPUP /*27*/:
                        parcel.enforceInterface(str);
                        i = parcel.readInt();
                        long readLong = parcel.readLong();
                        e eVar = (e) this;
                        ContentValues contentValues = new ContentValues();
                        contentValues.put("status", Integer.valueOf(-4));
                        contentValues.put("curBytes", Long.valueOf(readLong));
                        eVar.J0(i, contentValues);
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 28:
                        parcel.enforceInterface(str);
                        ((e) this).h(parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 29:
                        parcel.enforceInterface(str);
                        ((e) this).o(parcel.readInt());
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 30:
                        parcel.enforceInterface(str);
                        a2 = ((e) this).d;
                        parcel2.writeNoException();
                        parcel2.writeInt(a2);
                        return true;
                    case 31:
                        parcel.enforceInterface(str);
                        parcel2.writeNoException();
                        parcel2.writeInt(0);
                        return true;
                    case 32:
                        parcel.enforceInterface(str);
                        if (parcel.readInt() != 0) {
                            b = (com.ss.android.socialbase.downloader.g.c) com.ss.android.socialbase.downloader.g.c.CREATOR.createFromParcel(parcel);
                        }
                        parcel2.writeNoException();
                        return true;
                    case 33:
                        parcel.enforceInterface(str);
                        parcel.readInt();
                        parcel.createTypedArrayList(b.CREATOR);
                        parcel2.writeNoException();
                        return true;
                    case 34:
                        parcel.enforceInterface(str);
                        ((e) this).d(parcel.readInt(), parcel.createTypedArrayList(b.CREATOR));
                        parcel2.writeNoException();
                        return true;
                    case 35:
                        b aVar;
                        parcel.enforceInterface(str);
                        IBinder readStrongBinder = parcel.readStrongBinder();
                        if (readStrongBinder != null) {
                            IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.ss.android.socialbase.downloader.db.ISqlCacheLoadCompleteCallbackAidl");
                            if (queryLocalInterface == null || !(queryLocalInterface instanceof b)) {
                                aVar = new c.j.a.d.b.c.b.a.a(readStrongBinder);
                            } else {
                                aVar = (b) queryLocalInterface;
                            }
                        }
                        ((e) this).e = aVar;
                        parcel2.writeNoException();
                        return true;
                    default:
                        return super.onTransact(i, parcel, parcel2, i2);
                }
            }
            parcel2.writeString(str);
            return true;
        }
    }

    com.ss.android.socialbase.downloader.g.c C(int i, long j) throws RemoteException;

    void E(b bVar) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c I(int i, long j, String str, String str2) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c O(int i, long j) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c a(int i, int i2) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c a(int i, long j) throws RemoteException;

    List<com.ss.android.socialbase.downloader.g.c> a(String str) throws RemoteException;

    void a() throws RemoteException;

    boolean a(com.ss.android.socialbase.downloader.g.c cVar) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c b(int i) throws RemoteException;

    List<com.ss.android.socialbase.downloader.g.c> b(String str) throws RemoteException;

    void b() throws RemoteException;

    void b(com.ss.android.socialbase.downloader.g.c cVar) throws RemoteException;

    List<b> c(int i) throws RemoteException;

    List<com.ss.android.socialbase.downloader.g.c> c(String str) throws RemoteException;

    boolean c() throws RemoteException;

    void d(int i) throws RemoteException;

    void d(int i, List<b> list) throws RemoteException;

    boolean d() throws RemoteException;

    com.ss.android.socialbase.downloader.g.c e(int i) throws RemoteException;

    void e0(b bVar) throws RemoteException;

    void f(b bVar) throws RemoteException;

    boolean f(int i) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c g(int i) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c h(int i) throws RemoteException;

    void i(int i, List<b> list) throws RemoteException;

    List<com.ss.android.socialbase.downloader.g.c> j(String str) throws RemoteException;

    void k(int i, int i2, long j) throws RemoteException;

    boolean l(int i) throws RemoteException;

    void m(int i, int i2, int i3, long j) throws RemoteException;

    void n(int i, int i2, int i3, int i4) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c o(int i) throws RemoteException;

    com.ss.android.socialbase.downloader.g.c t(int i, long j) throws RemoteException;
}
